package org.wedding.center.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * 审批申请表(ApprovalInfo)实体类
 *
 * @author songkaiyue
 * @since 2025-05-16 10:42:50
 */
@TableName(value = "approval_info")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ApprovalInfo implements Serializable {
    private static final long serialVersionUID = 1L;
    
    /**
     * 唯一标识
     */
    @Schema(description = "唯一标识")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

     /**
     * 申请类型
     */
    @Schema(description = "申请类型0:商家入驻 1：提现申请 2：取消订单")
    @TableField(value = "business_type")
    private String businessType;
    

     /**
     * 业务标识
     */
    @Schema(description = "业务标识")
    @TableField(value = "business_id")
    private String businessId;
    

     /**
     * 状态
     */
    @Schema(description = "状态 0：待审批；1：通过；2：驳回")
    @TableField(value = "status")
    private String status;
    

     /**
     * 备注
     */
    @Schema(description = "备注")
    @TableField(value = "remark")
    private String remark;


     /**
     * 创建人
     */
    @Schema(description = "创建人")
    @TableField(value = "creator")
    private String creator;
    

     /**
     * 创建人名称
     */
    @Schema(description = "创建人名称")
    @TableField(value = "creator_name")
    private String creatorName;


     /**
     * 审批人
     */
    @Schema(description = "创建人")
    @TableField(value = "approver")
    private String approver;


     /**
     * 审批人名称
     */
    @Schema(description = "创建人名称")
    @TableField(value = "approver_name")
    private String approverName;
    

     /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    @TableField(value = "create_time")
    private String createTime;
    

     /**
     * 修改时间
     */
    @Schema(description = "修改时间")
    @TableField(value = "update_time")
    private String updateTime;
    

     /**
     * 删除标识：0:未删除  1:已删除
     */
    @Schema(description = "删除标识：0:未删除  1:已删除")
    @TableField(value = "del_flag")
    private String delFlag;

}

